#ifndef INST_INSPECT_H
#define INST_INSPECT_H
#include <string>
#include "c/abckit.h"
#include "c/isa/isa_dynamic.h"
#include "abc_context.h"
#include "metadata.h"

struct ApiInfo
{
    std::string source;
    std::string objName;
    std::string propName;
    std::string propType;
    PromiseType promiseType;
    int callbackIdx = -1;
}

struct InstContext
{
    ApiInfo *apiInfo;
    OperateType operateType;
    AbckitInst *targetInst;
    AbckitIsaApiDynamicOpcode opcodeType;
    std::shared_ptr<AbcFunc> abcFunc;
    std::shared_ptr<AbcFunc> parentAbcFunc;
}
#endif // INST_INSPECT_H